<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Pro;

class IndexController extends Controller
{

        public function index(){
        	//审核通过的项目
        	$pro = Pro::where('status',1)->take(4)->get();
        	return view('index',['pro'=>$pro]);
        }

   
}
